import request from '@/utils/request.js'
export * from './task'

// 获取验证码
export const loginCodeAPI = () => request({
  url: '/api/user-service/user/imageCode/1'
})

// 登录
export function loginAPI (data) {
  return request({
    url: '/api/user-service/user/login',
    method: 'POST',
    data
  })
}
